import http from '@/utils/http.js'

export function getAddressListAPI() { 
	return http.get('/member/address')
}

export function addAddressAPI(data) { 
	return http.post('/member/address', data)
}

export function updateAddressAPI(id, data) { 
	return http.put(`/member/address/${id}`, data)
}

export function deleteAddressAPI(id) { 
	return http.delete(`/member/address/${id}`)
}